package com.mallcloud.mall.product.api.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.mallcloud.mall.common.core.model.BaseModel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.omg.CORBA.INTERNAL;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;

@ApiModel(value = "FloorModel", description = "楼层信息")
@Data
@TableName(value = "P_FLOOR", autoResultMap = true)
public class FloorModel extends BaseModel {
    private static final long serialVersionUID = 1L;

    @TableId(type = IdType.AUTO)
    @ApiModelProperty(value = "楼层Id")
    private Long floorId;

    @ApiModelProperty(value = "楼层名称")
    private String name;

    @ApiModelProperty(value = "状态 1:enable, 0:disable")
    private Boolean status;

    @ApiModelProperty(value = "排序")
    private Integer sortOrder;
}
